#ifndef GETSYSTEMRUNNINGSTATERES_H
#define GETSYSTEMRUNNINGSTATERES_H


#include "BaseMsg.h"
#include "diskinfotlvencodedobj.h"

#define MSG_TYPE_GET_SYSTEM_RUNNING_STATE_RES "GetSystemRunningStateRes"

typedef enum
{
    GetSystemRunningStateRes_tag_disk = 0,
    GetSystemRunningStateRes_tag_memory,
    GetSystemRunningStateRes_tag_cpu
}GetSystemRunningStateRes_tag;

class GetSystemRunningStateRes: public BaseMsg
{
public:
    GetSystemRunningStateRes();

    list<DiskInfoTlvEncodedObj> lastDiskInfo;

    list<float> lastCPUUsages;

    list<float> lastMEMUsages;

    virtual int decodeParametersFromTlv(TLV* tlv);

    virtual int encodeParametersIntoTlvs(list<TLV *> & tlvs);
};

#endif // GETSYSTEMRUNNINGSTATERES_H
